<template>
    <el-form :inline="true"  class="demo-form-inline" v-model="getsearchData">
            <el-form-item >
                <el-select v-model="getsearchData.number_type">
                <el-option
                    v-for="item in options"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value">
                </el-option>
                </el-select>
            </el-form-item>
            <el-form-item >
                <el-input v-model="getsearchData.number" placeholder="请输入单号"></el-input>
            </el-form-item>
            <el-form-item label="申请时间">
                <el-date-picker
                    v-model="getsearchData.start_time"
                    value-format='yyyy-MM-dd'
                    type="date"
                    >
                    </el-date-picker>
                    <span>-</span>
                <el-date-picker
                    v-model="getsearchData.end_time"
                    value-format='yyyy-MM-dd'
                    type="date"
                    >
                </el-date-picker>
            </el-form-item>
            <el-form-item label="所属楼盘">
                <el-input v-model="getsearchData.real_estate_name" placeholder="请输入关键字"></el-input>
            </el-form-item>
            <el-form-item label="买家手机号">
                <el-input v-model="getsearchData.user_phone" placeholder=""></el-input>
            </el-form-item>
            <el-form-item >
                <el-button type="primary" >查询</el-button>
            </el-form-item>
    </el-form>

</template>

<script>
export default {
    name:'RefundSearch',
    data() {
        return {
            options: [{
                value: '选项1',
                label: '订单号'
                }, {
                value: '选项2',
                label: '退单号'
                }],
        
                applyTime:'',
                
            premisesData:[],
            premises:'',
            
        }
    },
    methods: {
        aaa(val){
            console.log(val);
        }
    },
    computed: {
        getsearchData(){
             return this.$store.state.RefundData.searchData;
        }
    },
   
}
</script>
<style lang="less" scoped>
.el-select{
    width: 100px;
}
.el-input{
    width: 160px;
}
    
</style>

<style>

</style>